<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1" import="java.util.*,sql.SQLs,java.sql.*"%>
<jsp:useBean id="feedback" class="guis.Feedbacks" scope="session"></jsp:useBean>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Auswertung erzeugen</title>
<link rel="stylesheet" type="text/css" href="formate.css">
<style type="text/css">
/* ... hier sind dateispezifische Formate erlaubt ... */
</style>
</head>
<body>
	<div id="wrapper">
			<div id="header">
				<div id="logo">
					<h1><a>Feedbacktool</a></h1>
				</div>
				<div id="menu">
					<ul>
						<li class="first active"><a>Baumann</a></li>
						<li><a>Strebel</a></li>
						<li><a>Widmer</a></li>
						<li><a> Benyamini</a></li>
					</ul>
					<br class="clearfix" />
				</div>
			</div>
			<div id="page">
				<div id="sidebar">
					<img class="alignleft" src="santis.jpg" width="235" height="220" alt="" />
				</div>
				<div id="content">
					<div class="box">
					<form action="/SVNFeedbackTool/AuswertungErzeugenFeedbackDetail.jsp"
						method="post" accept-charset="ISO-8859-1">
					<select name="feedbackliste">
					<%
						String f2 = null;
						String[] temp;
						if (session.getAttribute("modul") == null) { 
							feedback.setDurchfuehrungID(request.getParameter("modul")
								.toString());
							session.setAttribute("modul", request.getParameter("modul")
								.toString());
						} else {
							feedback.setDurchfuehrungID(session.getAttribute("modul")
								.toString());
						}
						for (String f : feedback.getFeedbacks()) {
							temp = f.split(",");
					%>
					<option value="<%=temp[1] + "," + temp[2]%>"><%=temp[0]%></option>
					<%
						f2 = f;
						}

						if (f2 == null) {
							response.sendRedirect("/SVNFeedbackTool/AuswertungErzeugen");
						}
					%>
					</select>
					<p>
					<input type="submit" value="Abschicken">
					</p>
					</form>
					</div>
					<br class="clearfix" />
				</div>
				<br class="clearfix" />
			</div>
			<div id="page-bottom">
				
			</div>
		</div>
	<div id="footer">
		&copy; 2012 Untitled | Design by BSWB | Feedbacktool</a>
	</div>
</body>
</html>